/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.uva.streambuilder;

import java.awt.event.KeyEvent;
import javax.swing.*;

/**
 *
 * @author rfdickerson
 */
public class ToolbarPanel extends JPanel {

    public ToolbarPanel() {
      
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
        JLabel lbl = new JLabel("Toolbar");
        lbl.setHorizontalTextPosition(JLabel.CENTER);
        add(lbl);
        
        JButton avgButton = new JButton("averager");
        avgButton.setMnemonic(KeyEvent.VK_A);
	add(avgButton);
        add(new JButton("max"));
        add(new JButton("min"));
    }
}
